<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8"/>
        <title>
            Vue数据代理
        </title>
        <script type="text/javascript" src="../js/vue.js"></script>
    </head>
    <body>
        
        <div id="root">
            <h2>
                学校名称: {{name}} </br>
                地址: {{address}}
            </h2>
        </div>
        <script type="text/javascript">
            const vm = new Vue({
                el: "#root",
                data: {
                    name: "新东方",
                    address: "北京王府井"
                }
            })
        </script>
    </body>
</html>